import java.util.ArrayList;
import java.util.List;

public class StaticList {

    private static final List<String> LIST = new ArrayList<>();

    private static String TEST = "test";

    public static void main(String[] args) {
        LIST.add("s");
        LIST.add("511");
        System.out.println("-----------------------------------------------------------------------------------" + LIST);
        test();
        TEST = "sb";
        System.out.println("-----------------------------------------------------------------------------------" + TEST);
    }

    private static synchronized void test() {
        TEST = "sb1";
        System.out.println("-----------------------------------------------------------------------------------" + TEST);
    }

}
